<?php

namespace plugin\admin\app\model;

use plugin\admin\app\model\Base;

/**
 * @property integer $id (主键)
 * @property integer $device_id 告警设备
 * @property integer $alarm_config_id 所属告警
 * @property string $device_sn 设备编号
 * @property integer $grade 告警等级: 1.严重 2.紧急 3.告警 4.通知 5.解除 6.状态
 * @property string $connect 告警内容
 * @property string $created_time 创建时间
 * @property string $updated_time 修改时间
 */
class IotAlarmRecord extends Base
{
    /**
     * The table associated with the model.
     *
     * @var string
     */
    protected $table = 'iot_alarm_record';

    /**
     * The primary key associated with the table.
     *
     * @var string
     */
    protected $primaryKey = 'id';
    /**
     * Indicates if the model should be timestamped.
     *
     * @var bool
     */
    public $timestamps = false;



}
